﻿CKEDITOR.editorConfig = function (config) {
    CKEDITOR.config.toolbar_Cpr = [
		['Source'],
		['SaveToEl', 'Undo', 'Redo', 'Find'],
		['TextColor', 'SpecialChar', 'Subscript', 'Superscript', 'RemoveFormat', 'PasteText', 'FormatTag', 'AddReference'],
		['TreeLineTable', 'Table', 'TableBorder'],
		['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
		['Screenshot', 'Maximize']];
    config.toolbar = "Cpr";
    config.extraPlugins = '3linetable,formattag,highlight,screenshot,tableborder,tableresize,savetoel,pastehandle,reference';
    //config.extraPlugins = 'highlight';
    //config.enterMode = CKEDITOR.ENTER_BR;
    config.disableObjectResizing = true;
    //config.highLightKeys = [{ Key: '公私', ForeColor: 'white', BackColor: 'red', Suggest: '公司' }, { Key: 'gs', ForeColor: 'white', BackColor: 'red', Suggest: '公司' }, { Key: ' ', ForeColor: 'white', BackColor: 'green', Suggest: '' }, { Key: '阿狄森氏病', ForeColor: 'white', BackColor: 'red', Suggest: '' }, { Key: '阿狄森病', ForeColor: 'white', BackColor: 'red', Suggest: '' }, { Key: 'α受体阻滞剂', ForeColor: 'white', BackColor: 'red', Suggest: '' }, { Key: 'mark', ForeColor: 'white', BackColor: 'red', Suggest: ''}];
    config.specialChars =
	[
		'!', '&quot;', '#', '$', '%', '&amp;', "'", '(', ')', '*', '+', '-', '.', '/',
		'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';',
		'&lt;', '=', '&gt;', '?', '@',
		'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O',
		'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
		'[', ']', '^', '_', '`',
		'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
		'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
		'{', '|', '}', '~',
		"&euro;", "&lsquo;", "&rsquo;", "&ldquo;", "&rdquo;", "&ndash;", "&mdash;", "&iexcl;", "&cent;", "&pound;", "&curren;", "&yen;", "&brvbar;", "&sect;", "&uml;", "&copy;", "&ordf;", "&laquo;", "&not;", "&reg;", "&macr;", "&deg;", "&sup2;", "&sup3;", "&acute;", "&micro;", "&para;", "&middot;", "&cedil;", "&sup1;", "&ordm;", "&raquo;", "&frac14;", "&frac12;", "&frac34;", "&iquest;", "&Agrave;", "&Aacute;", "&Acirc;", "&Atilde;", "&Auml;", "&Aring;", "&AElig;", "&Ccedil;", "&Egrave;", "&Eacute;", "&Ecirc;", "&Euml;", "&Igrave;", "&Iacute;", "&Icirc;", "&Iuml;", "&ETH;", "&Ntilde;", "&Ograve;", "&Oacute;", "&Ocirc;", "&Otilde;", "&Ouml;", "&times;", "&Oslash;", "&Ugrave;", "&Uacute;", "&Ucirc;", "&Uuml;", "&Yacute;", "&THORN;", "&szlig;", "&agrave;", "&aacute;", "&acirc;", "&atilde;", "&auml;", "&aring;", "&aelig;", "&ccedil;", "&egrave;", "&eacute;", "&ecirc;", "&euml;", "&igrave;", "&iacute;", "&icirc;", "&iuml;", "&eth;", "&ntilde;", "&ograve;", "&oacute;", "&ocirc;", "&otilde;", "&ouml;", "&divide;", "&oslash;", "&ugrave;", "&uacute;", "&ucirc;", "&uuml;", "&yacute;", "&thorn;", "&yuml;", "&OElig;", "&oelig;", "&#372;", "&#374", "&#373", "&#375;", "&sbquo;", "&#8219;", "&bdquo;", "&hellip;", "&trade;", "&#9658;", "&bull;", "&rarr;", "&rArr;", "&hArr;", "&diams;", "&asymp;"
	];
};